<% title "Careers" %>

<table>
  <tr>
    <th>Name</th>
  </tr>
  <% for career in @careers %>
    <tr>
      <td><%= career.name %></td>
      <td><%= link_to "Show", career %></td>
      <td><%= link_to "Edit", edit_career_path(career) %></td>
      <td><%= link_to "Destroy", career, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
</table>

<p><%= link_to "New Career", new_career_path %></p>
